package com.wcl.fragmenttest;

import me.yokeyword.fragmentation.SupportFragment;
import me.yokeyword.fragmentation.anim.FragmentAnimator;

/**
 * @项目名： FragmentTest
 * @包名： com.wcl.fragmenttest
 * @文件名: BaseFragment
 * @创建者: kilin
 * @创建时间: 2019/9/29 14:41
 * @描述： TODO
 */
public abstract class BaseFragment extends SupportFragment {

    @Override
    public FragmentAnimator onCreateFragmentAnimator() {
        int enter = R.anim.h_fragment_enter;
        int exit = R.anim.h_fragment_exit;
        int popEnter = R.anim.h_fragment_pop_enter;
        int popExit = R.anim.h_fragment_pop_exit;
        return new FragmentAnimator(enter, exit, popEnter, popExit);
    }

}
